import request from '../utils/request';
//公共业务接口文档
const api = {
  //新增地区数据
  AddArea(data?: any) {
    return request({
      url: '/api/AreaManagement/AddArea',
      method: 'post',
      data,
    });
  },
  //获取单个地区对象数据
  GetSingleArea(data: any) {
    return request({
      url: '/api/AreaManagement/GetSingleArea',
      method: 'post',
      data,
    });
  },
  //获得所有树形结构地区数据
  GetTreeAreaDataList(data?: any) {
    return request({
      url: '/api/AreaManagement/GetTreeAreaDataList',
      method: 'post',
      data,
    });
  },
};
//业务开单接口
export default api;
